const express= require('express')
const app = express()
const cookieParser = require('cookie-parser')
router= express.Router();
app.use(router)
router.use(cookieParser());
app.use(express.static('./static'))
router.post('/login',(req,res)=>{
    res.send(req.cookies);
})

app.listen(8080)
